package com.best.eureka.interceptor;

import feign.RequestInterceptor;
import feign.RequestTemplate;

/**
 * @author Jiang Akang
 * employeeId: BG435424
 * @date 2021/7/23
 **/
public class MyInterceptor implements RequestInterceptor {
    @Override
    public void apply(RequestTemplate template) {
        System.out.println("===============执行拦截器apply==============");
        template.header("token", "jak");
    }
}
